/*
 *  $Id: style.css, v 1.0 2007/10/20
 *
 *  This file is part of DartGrid Mapping Tool project.
 *
 *  Copyright (C) 2007-2009 DartGrid
 *
 *  See LICENSE file for details.
 */

@import url("menu.css");
@import url("view.css");

#viewLayout {
    top:26px;
    left: 0px;
    position: absolute;
    width: 20%;
    z-index: 300;
}

#canvas {
    z-index: 200;
    background-image: url("../images/back.gif");
    width: 80%;
    position: absolute;
    left: 20%;
    top: 26px;
}

#progress {
    position:absolute;
    top:30%;
    left:30%;
    z-index:800;
    border: 1px solid #000;
    width:400px;
    height:150px;
}

/* mapping unit. */
.mapping_table {
    z-index: 100;
    position: absolute;
    background-color: lightgray;
    border: 2px solid blue;
}

.mapping_onto {
    margin: 5px;
    background-color: lightyellow;
}

.mapping_property {
    border: 1px solid green;
    background-color: white;
    margin: 2px;
}

.mapping_column {
    background-color: white;
    margin-left: 10px;
}

.mapping_title {
    margin: 5px;
    left: 0px;
    top : 0px;
    position: relative;
}

.mapping_title_text {
    font: menu;
    padding: 0px 5px 0px 5px; 
}

.mapping_body {
    margin: 5px;
    left: 0px;
    top: 0px;
    position: relative;
}

.mapping_body_text {
    padding-left: 10px;
    font: 0.9em Arial;
}

.property_icon {
    float: left;
}

.relation {
    position: absolute;
}

/* open file dialog. */
.open_dialog {
    z-index: 500;
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
}

.prompt {
    margin: 10px;
    padding: 5px;
    height: 20%;
    font: 1.2em Arial;
}

.uploadArea {
    margin: 5px;
}

.upload {
    padding: 15px 5px 20px 5px;
}

.upload_add {
}

.upload_submit {
}

/* config relation dialog. */
.config_area {
    position: absolute;
    margin: 0px;
    left: 0px;
    right: 0px;
    top: 0px;
    height: 85%;
    padding: 0px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.wizard_buttons {
    position: absolute;
    margin: 10px;
    top: 86%;
    right: 10px;
}

.subject_area {
    position: absolute;
    margin-left: 10px;
    margin-top: 10px;
    left: 0px;
    top: 0px;
    right: 50%;
    padding: 0px 5px 0px 5px;
    height: 45%;
    border-bottom: 1px solid black;
}

.object_area {
    position: absolute;
    margin-right: 10px;
    margin-top: 10px;
    right: 0px;
    top: 0px;
    left: 50%;
    padding: 0px 5px 0px 5px;
    height: 45%;
    border-bottom: 1px solid black;
}

.ref_list {
    position: absolute;
    margin: 10px;
    padding: 0px;
    left: 0px;
    right: 0px;
    top: 45%;
    height: 35%;
    overflow: auto;
}

.condition_area {
    top: 80%;
    position: absolute;
    margin: 10px;
    padding: 10px 20px 5px 20px;
}

.combo_list {
    margin: 5px 0px 0px 5px;
    padding: 5px;
    width: 100%;
    height: 25px;
}

.combo_list_option {
    background-color: #f0f8ff;
    cursor:pointer;
}

/*--------------------- Grid ------------------------*/
.grid {
    position: relative;
    left: 0px;
    top:0px;
    width:100%;
    border-collapse: collapse;
    font:menu;
}

.grid tr {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.grid tr.even {
    background-color: #f0f0ff;
}

.grid tr.odd {
    background-color: #f8f8ff;
}

.grid tr.hover {
    background-color: #feb;
}

.grid tr.selected {
    background-color: #aac;
}

.grid thead td {
    background-color: #ebeadb;
    font-weight: bold;
    background-image: url("images/Grid_header.gif");
    background-position: 0% 100%;
    background-repeat: repeat-x;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.grid thead td.hover {
    background-image: url("images/Grid_header_hover.gif");
}

.grid td {
    border-bottom: 1px solid #888;
    border-left: 1px solid #888;
    border-right: 1px solid #888;
    padding: 0px;
}

.grid td.index {
    background-color: #aaa;
}

.grid .header_value {
    padding: 2px 3px;
}

.grid .row_value {
    padding: 2px 3px;
}

/*----------------------- WebDav -----------------------------*/
#dav_browser .toolbar {
    margin:auto;
    width:99%;
    background-color:#e1e1e1;
    border: 1px solid #cccccc;
    height: 22px;
    padding:2px;
}

#dav_browser .toolbar_icon {
    width:20px;
    height:20px;
    float:left;
    margin-left:1px;
    cursor:pointer;
}

#dav_browser .toolbar_icon:hover {
    border: 1px solid #000000;
}

#dav_browser .toolbar_separator {
    float: left;
    width: 1px;
    height: 19px;
    background-color: #888;
    border: 1px outset #aaa;
    margin-top: 1px;
}

#dav_browser .toolbar_icon_down {
    border: 1px solid #000;
    background-color: #8af;
}

#dav_path {
    margin: 5px 3px;
}

#dav_main {
    border: 1px solid #999;
}

#dav_tree {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 200px;
    overflow:auto;
    background-color: #fff;
}

#dav_tree li {
    margin-top: 3px;
}

#dav_tree span {
    cursor: pointer;
}


#dav_tree .tree_li_selected  {
    font-weight: bold;
}

#dav_tree .tree_ul_selected {
    font-weight: normal !important;
}

.dav_item {
    background-color: #eee;
    width: 80px;
    height: 65px;
    padding-top: 15px;
    float: left;
    text-align: center;
    overflow: hidden;
    margin: 5px;
}

.dav_item_selected {
    background-color: #ddf;
}

#dav_splitter {
    position: absolute;
    left: 201px;
    top:0px;
    width: 5px;
    background-color:#999;
}

#dav_right_content {
    left:206px;
    position: relative;
    height: 100%;
}

#dav_bottom {
    text-align: right;
    margin-top: 3px;
    margin-right: 5px;
}

#dav_permissions {
    border-collapse: collapse;
}

#dav_permissions td {
    text-align: center;
}
